home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / door / gwar242.zip / DATAFILE.TXT < prev    next >
Text File  |  1992-01-25  |  6KB  |  131 lines

  1. GLOBAL WAR data file documentation
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. * = Items revised for Global War version 2.40
  4.  
  5. This file documents the contents of your WARxx.DAT and WARxx.REC files.
  6. These files contain all the information for GLOBAL WAR games in progress,
  7. in signup mode, and after completion.  This information is provided for
  8. programmers who wish to write software to work with these files, and
  9. for Sysops for repairing damaged data files.
  10.  
  11. FILE CONTENTS:
  12. ~~~~~~~~~~~~~~
  13. Note: "daynum" refers to a real number which is the number of days since
  14. January 1, 1985.   Example: a daynum of 1671.6039 works out to be
  15. July 30, 1989 (1/1/85 + 1671 days).  Adding another .6039 days works out
  16. to be 14.4936 hours, which puts us at about 2:29 pm.
  17.  
  18. Line Description    Range
  19. ~~~~ ~~~~~~~~~~~    ~~~~~~
  20. *  1 Game_Event     (0..11166)
  21.        0 = Normal game, not started
  22.        1 = Normal game, in progress
  23.        2 = Normal game, completed and awaiting auto-deletion.
  24.        3 = Team   game, not started
  25.        4 = Team   game, in progress
  26.        5 = Team   game, completed and awaiting auto-deletion.
  27.       33 = Normal game,   3 players, not started
  28.       34 = Normal game, 3-4 players, not started
  29.       35 = Normal game, 3-5 players, not started
  30.       36 = Normal game, 3-6 players, not started
  31.       44 = Normal game,   4 players, not started
  32.       45 = Normal game, 4-5 players, not started
  33.       46 = Normal game, 4-6 players, not started
  34.       55 = Normal game,   5 players, not started
  35.       56 = Normal game, 5-6 players, not started
  36.       66 = Normal game,   6 players, not started
  37.  
  38.      100 is added to the above value if Hidden names are in effect.
  39.  *  1000 NO LONGER USED {was Unlimited Fortification option} See Line 127.
  40.  * 10000 is added to the above value if free deploy-attack-fortify option
  41.          is in effect.
  42.  
  43.    2 Event_Day      daynum
  44.        The daynum that Game_Event occurred.
  45.  
  46.    3 Player_Name    17-Char String    \
  47.        The Player's Name                \
  48.                                           \
  49.    4 Player_Vote    T or F                  \
  50.        The Player's Vote to start the game,   \
  51.        "T" or "F" for Yes or No.                \
  52.                                                  | This is player 1's
  53.    5 Player_Moved   daynum                       | data.
  54.        daynum that the player last took a turn.  | This data is repeated
  55.                                                  | 5 more times for the
  56.    6 Cmd_General    1..5                         | remaining 5 players.
  57.        Number of Commendations from the          | A Player_Name of NONE
  58.        General this player holds.                | denotes no player.
  59.                                                  |
  60.    7 Cmd_King       1..5                         |
  61.        Number of Commendations from the         /
  62.        King this player holds.                /
  63.                                             /
  64.    8 Cmd_Queen      1..5                  /
  65.        Number of Commendations from the /
  66.        Queen this player holds.       /
  67.  
  68.   39 Cmd_Sets       INTEGER
  69.        Number of Sets of Commendations turned in for additional armies.
  70.  
  71.   40 Armies         INTEGER              \
  72.        Number of armies on the country.    \  This data is for Country #1
  73.                                             | (Afghanistan) and is repeated
  74.   41 Owner          1..6                   /  for the remaining 41 countries.
  75.        Player who occupies this country. /
  76.  
  77.  124 Team 1 password
  78.  
  79.  125 Team 2 password
  80.  
  81.  126 Team 3 password
  82.  
  83. *127 MaxForts       Integer
  84.        The maximum number of fortifications allowed.
  85.  
  86.  
  87. Country numbers:
  88.    1 Afghanistan   13 France      25 W. Africa   37 Ural
  89.    2 Alaska        14 Greenland   26 Germany     38 Venezuela
  90.    3 Alberta       15 England     27 Yukon       39 W. Australia
  91.    4 Argentina     16 India       28 Ontario     40 Spain
  92.    5 Brazil        17 Borneo      29 Peru        41 W. US
  93.    6 Mexico        18 Irkutsk     30 Quebec      42 Taimyr
  94.    7 China         19 Japan       31 Scandinavia
  95.    8 Zaire         20 Kamchatka   32 Siam
  96.    9 E. Africa     21 Madagascar  33 Siberia
  97.   10 E. Australia  22 Iran        34 S. Africa
  98.   11 E. US         23 Mongolia    35 Italy
  99.   12 Libya         24 New Guinea  36 Ukraine
  100.  
  101. Recovered games:
  102. ~~~~~~~~~~~~~~~~
  103. In the event of a loss of carrier, the game is saved in a file called
  104. WARxx.REC (where xx is the game number).  If the player then calls back
  105. his turn will be resumed right where he left off.  If another player calls
  106. back first and takes his turn, this file is deleted and the original game
  107. (WARxx.DAT) is used instead.
  108.  
  109. WARxx.REC file format is the same as WARxx.DAT format except the following
  110. prefix data appears before the game data above:
  111.  
  112.   LINE 1: PlayerNumber    The player number (1-6) of the player who lost
  113.                           connection.
  114.  
  115.   LINE 2: LastPlay        What the player was doing when he lost connection.
  116.                           0=Deploying armies, 1=Attacking, 2=Fortifying
  117.                           3=Attacking and has earned a commendation
  118.  
  119.   LINE 3: ArmiesToDeploy  If the player was deploying armies, this is the
  120.                           number of armies still left to deploy.
  121.  
  122.   LINE 4: Map             This is the map which was displayed when carrier
  123.                           was lost.  1=Globe 2=Africa 3=Asia 4=Australia
  124.                           5=Europe 6=N.America 7=S.America
  125.  
  126. * LINE 5: FortsDone       Number of Fortification moves made.
  127.  
  128. * LINE 6: GivesDone       Number of Countries Given to partner.
  129.  
  130. The remainder of the data is as documented above.
  131.